<!DOCTYPE HTML>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta name="viewport" id="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;minimum-scale=1.0; user-scalable=no;" />
<link rel="stylesheet" type="text/css" href="css/index.css">
<title>屏幕方向切换测试</title>
<script type="text/javascript">
	function uexScreenOrietationCallback(data){
		var obj = eval('('+data+')');
		if(obj.screenOrietation == 0){
			document.getElementById('data').innerHTML ="横屏";
		}else {
			document.getElementById('data').innerHTML ="竖屏";
		}
		
	}
</script>
</head>

<body>
	<div class="tit">屏幕方向切换测试</div>
	<div class="conbor">
		<div class="consj">
			<span>1. 屏幕方向切换</span>
			<span>当前的屏幕方向为：</span>
			<div class="tcxx" id="data"></div>
			<input class="btn" type="button" value="返回" onclick="uexWindow.back();">
		</div>
	</div>
</body>
</html>